package Advanced.PageObject;

import org.openqa.selenium.WebDriver;

public class GoogleSearchPage { 
	
	private WebDriver driver;


	public GoogleSearchPage(WebDriver driver) {
		
		
		
       if (!driver.getPageSource().contains("Google Home")) {
                throw new IllegalStateException("This is not the search result page");
        }

}


	
}